/**
 * 列表搜索为空时，提示语
 */
import React, { Component, PropTypes } from 'react';

class EmptyConent extends Component {

    static propTypes = {
        className: PropTypes.string,
        emptyText: PropTypes.string,
    }

    static defaultProps = {
        className:'',
        emptyText:"暂无数据"
    }
    render() {
        const { className, emptyText } = this.props;
        return (
            <div className={className}>
                 <span className="inline-tips">
                    <i className="anticon anticon-frown-o"></i>
                    {emptyText}
                </span>
            </div>
        );
    }
}

export default EmptyConent;